package com.zhongwang.mms.gen.mapper;

import com.zhongwang.mms.gen.entity.MOrderDetail;
import com.zhongwang.mms.gen.entity.MOrderDetailExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface MOrderDetailMapper {
    long countByExample(MOrderDetailExample example);

    int deleteByExample(MOrderDetailExample example);

    int deleteByPrimaryKey(Integer odaId);

    int insert(MOrderDetail record);

    int insertSelective(MOrderDetail record);

    List<MOrderDetail> selectByExample(MOrderDetailExample example);

    MOrderDetail selectByPrimaryKey(Integer odaId);

    int updateByExampleSelective(@Param("record") MOrderDetail record, @Param("example") MOrderDetailExample example);

    int updateByExample(@Param("record") MOrderDetail record, @Param("example") MOrderDetailExample example);

    int updateByPrimaryKeySelective(MOrderDetail record);

    int updateByPrimaryKey(MOrderDetail record);
}